<div id="container_{$stattype}"></div>
<script>
$(function () {
    $('#container_{$stattype}').highcharts({$stat_json|raw});
});
</script>